package com.itheima.fuxichengxu;

import java.util.Scanner;

public class Jianfei {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        while(true){
            System.out.println("请输入星期数");
            int day = sc.nextInt();
            switch (day){
                case 1 :
                    System.out.println("跑步");
                    break;
                case 2 :
                    System.out.println("游泳");
                    break;
                case 3 :
                    System.out.println("慢走");
                    break;
                case 4 :
                    System.out.println("动感单车");
                    break;
                case 5 :
                    System.out.println("拳击");
                    break;
                case 6 :
                    System.out.println("爬山");
                    break;
                case 7 :
                    System.out.println("好好吃一顿");
                    break;
                default :
                    System.out.println("您的输入有误请重新输入");
                    break;
            }
        }
    }
}
